package com.ytjj.qmyx.users.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class UsersMsg implements Serializable {
    private Integer id;

    /**
     * 电话
     *
     * @mbg.generated
     */
    private String tel;

    /**
     * 短信发送内容
     *
     * @mbg.generated
     */
    private String msg;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 验证码
     *
     * @mbg.generated
     */
    private String authCode;

    /**
     * 使用状态
     *
     * @mbg.generated
     */
    private Byte usedStatus;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tel=").append(tel);
        sb.append(", msg=").append(msg);
        sb.append(", createTime=").append(createTime);
        sb.append(", authCode=").append(authCode);
        sb.append(", usedStatus=").append(usedStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}